package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.footballmanager.pandafootball.system.domain.enums.ZDZT;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * 战队表
 */
@Entity
@Setter
@Getter
@ToString
public class FootSociaty extends BaseEntity implements Serializable {
	@Column(name = "name", length = 200)
	private String name;
	@Column(name = "total_num")
	private Integer totalNum;
	@Column(name = "win_time")
	private Integer winTime = 0;
	@Column(name = "same_time")
	private Integer sameTime = 0;
	@Column(name = "lose_time")
	private Integer loseTime = 0;
	@Column(name = "jf")
	private Integer jf = 0;
	@Column(name = "have_num")
	private Integer haveNum;
	@Column(name = "status")
	private ZDZT status;
    @Column(name = "level")
	private Integer level;
    @Column(name = "liveness")
	private Long liveness;
    @Transient
    private String userName;
    @Column(name = "dan_grading_id")
	private Long danGradingId;
    @Transient
	private String danGradingName;
    @Column(name = "logo")
	private Long logo;
    @Transient
    private byte[] img;
    @Transient
	private String logoUrl;
}